home *** CD-ROM | disk | FTP | other *** search
/ Acorn Risc Technologies StrongARM CD-ROM / Acorn Risc Technologies StrongARM CD-ROM.iso / ftp / documents / appnotes / 246_260 / 251c / Text
Encoding:
Text File  |  1994-04-21  |  41.1 KB  |  1,103 lines

  1. -----------------------------------------------------------------------------
  2. 19th April 1994
  3. -----------------------------------------------------------------------------
  4. Support Group Application Note  Risc PC. Advanced configuration for use in 
  5. a hard disc or network environment. Number: 251 Issue:  1.02 Author: CAS
  6. -----------------------------------------------------------------------------
  7.  
  8. This document is intended to guide the reader through the setup and
  9. maintenance of the Risc PC boot sequence. It will deal with the !Boot
  10. application on a local hard disc as well as the integration of the Risc PC
  11. into a network environment which utilises an armboot sequence.
  12.  
  13. -----------------------------------------------------------------------------
  14. Applicable Hardware: 
  15.  
  16. All Risc PCs
  17. All Archimedes
  18. All Acorn fileservers
  19. MDFS
  20. Nexus
  21. AppFS
  22. Killer
  23. ClassNet
  24. ClassROM
  25. ClassShare
  26.  
  27. Related Application Notes: 
  28.  
  29. 222
  30. 244
  31.  
  32. -----------------------------------------------------------------------------
  33. Copyright (C) Acorn Computers Limited 1992
  34.  
  35. Every effort has been made to ensure that the information in this leaflet is 
  36. true and correct at the time of printing. However, the products described in
  37. this leaflet are subject to continuous development and improvements and
  38. Acorn Computers Limited reserves the right to change its specifications at
  39. any time. Acorn Computers Limited cannot accept liability for any loss or
  40. damage arising from the use of any information or particulars in this
  41. leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
  42. Limited.
  43. -----------------------------------------------------------------------------
  44. Support Group
  45. Acorn Computers Limited
  46. Acorn House
  47. Vision Park
  48. Histon
  49. Cambridge
  50. CB4 4AE                                                  
  51. -----------------------------------------------------------------------------
  52.  
  53. Introduction.
  54.  
  55. This document is intended to guide the reader through the setup and
  56. maintenance of the Risc PC boot sequence. It should be read in conjunction
  57. with the section Modifying the system start-up configuration in the Risc PC
  58. User Guide.
  59.  
  60. The Risc PC hard disc contains the first widely available structured boot
  61. sequence released by Acorn. It attempts to meet the requirements of both new
  62. and technically experienced users. At its simplest level it allows users to
  63. customise their computer through the Desktop save option first introduced in
  64. RISC OS 3.1, whilst at the most complex level allows individuals to
  65. completely customise their computer, by providing a multi-faceted sequence.
  66.  
  67. This document will deal with the complexities of customising the whole boot
  68. sequence and consequently is for the technically oriented user.
  69.  
  70. The physical structure.
  71.  
  72. The boot sequence no longer comprises a single file as in previous versions
  73. of RISC OS 3. It is an application which encompasses a number of elements
  74. which are stored in the root directory of the hard disc.
  75.  
  76.  
  77.  
  78. Figure 1: Elements of the Boot application 
  79.  
  80. The boot application specifically searches for and Filer_Boots the contents
  81. of the sub directories: Apps, Printing and Utilities. Any change to the
  82. naming or position of these elements in the filing system will result in
  83. errors at boot time and may result in a computer which behaves in an
  84. unexpected manner.
  85.  
  86.  
  87.  
  88. Figure 2: Boot application structure.
  89.  
  90. Figure 2 illustrates the structure of the Boot application. Those sections
  91. which are highlighted indicate areas or files which may require maintenance
  92. when adding new applications etc.
  93.  
  94. As these illustrations show, the local hard disc is now used to store
  95. applications which were previously ROM based. This has a number of
  96. advantages, not least of which is the ability to easily add new or updated
  97. applications to the Apps folder.
  98.  
  99. Operational overview.
  100.  
  101. The most obvious change is that double clicking on !Boot no longer runs the
  102. !Boot application, but instead provides access to the computer's
  103. configuration settings via !Configure. If !Configure has been disabled (see
  104. the section entitled Setting up for classroom use) then a message will be
  105. presented as shown below, otherwise !Configure will be started.
  106.  
  107.  
  108.  
  109. Figure 3: Message which appears when !Configure has been disabled.
  110.  
  111. The boot application provides a repository for !System and !Fonts.
  112. !Configure provides the functionality of the !Merge application and
  113. consequently updating these resources is now facilitated by !Configure.
  114.  
  115. Unless configured otherwise, the boot sequence will be run when the computer
  116. is switched on. The boot sequence contains a number of utilities which
  117. enable applications to be added to the Apps folder and to recursively run or
  118. load files or applications which are stored in specific areas of the !Boot
  119. application. The mechanisms used by these processes have little relevance
  120. when setting up a computer's boot sequence and consequently will not be
  121. dealt with here.
  122.  
  123. The Desktop boot file is still implemented via the Task manager, except that
  124. it is now saved inside the !Boot  application in !Boot.Choices.Boot.Tasks.
  125. The path to this area and the correct filename are provided in the save
  126. dialogue box by default.
  127.  
  128. Customising the boot sequence.
  129.  
  130. At its simplest level the boot sequence can be customised using the familiar
  131. Desktop boot file which is provided by the Task manager. This is likely to
  132. meet the requirements of most users and its use is covered in detail in the
  133. Risc PC User Guide in the section Modifying the system start-up
  134. configuration.
  135.  
  136. In some circumstances it may be essential for specific applications or
  137. scripts to be run before the desktop environment has been initialised, or
  138. for applications which have dependencies on other applications to be run in
  139. a specific order. Both of these situations can be accommodated by the Risc
  140. PC Boot application as it  provides a structured mechanism for booting
  141. applications or files which are stored in the Choices area of the  Boot
  142. application. The order in which the elements of the Choices.Boot directory
  143. are executed is as follows:
  144.  
  145.  
  146.  
  147. Figure 4:Run order of main Boot sequence elements.
  148.  
  149. Taking each of these elements in turn, this is how to determine what should
  150. be placed where:
  151.  
  152. PreDesktop:     This file gets *OBEYed before the desktop starts and is intended
  153. to setup specific system variables or add applications to the Apps folder.
  154. It is well commented and provides sections for:
  155.  
  156.      Aliases eg. Set Alias$@RunType_FDC Obey %*0
  157.      Paths   eg. Set File$Path ,%.,Boot:Library.
  158.      Options eg. set Copy$options A ~C ~D F ~L N ~P ~Q ~R ~S ~T V
  159.      ResApps eg. AddApp Boot:^.Apps.DTP.!Impress
  160.      Misc    eg. Set Mail$Name fnstein (Frank N Stein)
  161.  
  162. When modifying the file by adding a section of lines it is recommended that
  163. the lines be bracketed by lines which start with |Start and |End. In this
  164. way it is easy to identify a section of lines which shouldn't be broken up.
  165. For application writers who want to install a section of lines we advise
  166. that your company, application, version and section be identified. This
  167. enables a future install or update program to identify easily the section of
  168. lines which need to be changed.
  169.  
  170. PreDesk:        This is where all pre-desktop resources should be placed. It
  171. will correctly identify and install or execute the following file types:
  172.  
  173.         Module
  174.         Sprite
  175.         Obey
  176.         Application/Directory
  177.  
  178. Elements of the same type will be run in alphabetical order. So if 3
  179. relocatable modules: ABCLib, SCSIfiler and ABIMod, are included in this
  180. folder they will be executed in the following order:
  181.  
  182.         ABCLib
  183.         ABIMod
  184.         SCSIfiler
  185.  
  186. If the order of loading is critical then there are two possible solutions.
  187. These are detailed in the section: Inserting order critical and 3rd Party
  188. sequences into !Boot.
  189.  
  190. Desktop:        This file is responsible for ensuring that the contents of
  191. the directory Tasks are correctly executed. In addition it also:
  192.  
  193.         Ensures that applications in $.Apps.!* are added to the Apps folder.
  194.         Filer_Boots the contents of $.Printers and $.Utilities.
  195.  
  196. It links into other files in the Boot application which recursively examine
  197. and execute the contents of the Tasks directory. It applies the following
  198. actions to these files:
  199.  
  200.         Filer_Boot all applications.
  201.         Filer_Run all entries.
  202.  
  203. Note: Filer_Run performs the equivalent of double-clicking on an object.
  204. Consequently Text files will be loaded into Edit, directories opened,
  205. modules RMRun etc.
  206.  
  207. Placing applications that operate like !NewLook or !SetIcons in the Tasks
  208. directory will result in them being not only Filer_Booted but also
  209. Filer_Run. This is obviously not desirable as the application window will be
  210. presented each time the computer is booted. To overcome this it is
  211. recommended that this type of application is placed in !Boot.Resources
  212. alongside !System, !Scrap etc as these resources are only ever Filer_Booted.
  213.  
  214. Note: !NewLook and !SetIcons have been integrated into the Risc PC operating
  215. system. As a consequence RISC OS 3.1 versions of these applications must not
  216. be used with the Risc PC.
  217.  
  218. !Boot:  This is the file which is generated by the Task manager. It will
  219. perform additional Filer_Boot, Filer_Run and various other commands as
  220. detailed in the Risc PC User Guide.
  221.  
  222. Inserting order critical and 3rd Party sequences into !Boot.
  223.  
  224. In some circumstances it may be necessary to insert a block of commands into
  225. the boot sequence in order to ensure the load order of files or to enable
  226. 3rd Party applications or devices. There are two mechanisms provided by the
  227. boot application for doing this:
  228.  
  229.         1. Create an OBEY file and place it in PreDesk or Tasks.
  230.  
  231.         2. Insert the lines in the PreDesktop file.
  232.  
  233. The former is the one most likely to be used as it offers the easiest
  234. mechanism for ensuring that things are executed correctly. The latter is the
  235. preferred solution as this provides 3rd Parties with a mechanism which can
  236. be utilised by customised installation software. This can have a number of
  237. advantages with a well written installation procedure as it:
  238.  
  239.         allows installation software to search for and identify other manufacturers'
  240. sequences.
  241.  
  242.         allows the installation program to search for older sequences and
  243. replace them with newer ones.
  244.         
  245.         enables the installation program to flag possible problems with
  246. other software which is loaded by the file before it installs its own
  247. sequence.
  248.  
  249. Creating an OBEY file for use in PreDesk or Tasks.
  250.  
  251. Proceed as follows:
  252.  
  253.         Load Edit onto the icon bar. Menu on Edit and click on Obey from its
  254. Create menu.
  255.  
  256.         Enter the appropriate commands and save the file, with an
  257. appropriate name, in PreDesk or Tasks. 
  258.  
  259. In the example PreDesk directory shown below the Obey file Network, contains
  260. the following lines which ensure that !Internet and !BootNet are run in the
  261. correct order.
  262.  
  263. Note: The !Internet application must not be placed inside the boot
  264. application as this will generate an error which will halt the boot
  265. sequence.
  266.  
  267.         Run ADFS::HardD4.$.Apps.TCP/IP.!Internet
  268.         Run <Boot$ToBeLoaded>.!BootNet
  269.  
  270.  
  271.  
  272. Figure 5: An example of the PreDesk directory contents.
  273.  
  274. Modifying the PreDesktop file.
  275.  
  276. When doing so the following protocol should be adhered to:
  277.  
  278. When modifying a file by adding a section of lines it is recommended that
  279. the lines are bracketed by lines which start with |Start and |End. 
  280.  
  281. For example:
  282.                
  283. |Start CompCo Zippy 1.234 Filer
  284. | -------------------
  285. |
  286. |     Load Filer
  287. |
  288. | -------------------
  289. |
  290. Set Foo$Type0 1
  291. Set Foo$Type1 1
  292. RMEnsure FooNormDriver 0 Set Foo$Type0 0
  293. RMEnsure FooQuickDriver 0 Set Foo$Type1 0
  294. If Foo$Type0 =0 AND Foo$Type1 =0 Then Set Foo$Type0 1
  295. If Foo$Type0 =1 Then RMLoad Foo:FooNormDriver 
  296. If Foo$Type1 =1 Then RMLoad Foo:FooQuickDriver
  297. Unset Foo$Type0
  298. Unset Foo$Type1
  299. |End
  300.  
  301. The convention is for each element of the description to be abbreviated if
  302. necessary to a single word with a space separator as shown ofter the |Start
  303. .... In this way it is easy to identify sections of line which shouldn't be
  304. broken up. For application writers who wish to install a section of lines we
  305. advise that your company, application, version and section be identified and
  306. an appropriate installation program is written and used. This will enable a
  307. future install or update program to easily identify a section of lines which
  308. need to be changed.
  309.  
  310. Updating the computers' resources
  311.  
  312. There are a number of resources which will require to be updated at various
  313. times during the life of the computer. Some will only need to be changed if
  314. different hardware is fitted to the computer. Others such as !System may
  315. require updating each time a new software package is added to the hard disc.
  316. As already mentioned mechanisms exist within !Configure for updating !System
  317. and !Fonts. Other aspects of the computers resources which may require
  318. updating include:
  319.  
  320.         • Apps                  • Monitor definition files.
  321.  
  322. Apps.
  323.  
  324. The applications which are accessed via the Apps folder on the icon bar are
  325. in fact stored on the  hard disc in $.Apps. Any entries which are placed in
  326. $.Apps and begin with ! will automatically be made available from the Apps
  327. folder on the icon bar. All other entries will be ignored.
  328.  
  329. It is now possible for Acorn to provide an enhanced version of an
  330. application without replacing the whole RISC OS ROM  set.
  331.  
  332. In addition users now have the flexibility to replace traditional ROM based
  333. applications with their preferred alternatives. Updating this area simply
  334. requires the deletion or copying of the appropriate application(s) in
  335. $.Apps.
  336.  
  337. Monitor definition files.
  338.  
  339. Due to the increased flexibility of the screen display provided by the Risc
  340. PC it has become necessary to inform RISC OS of the displays supported by
  341. specific monitors. This is done via a monitor definition file. Figure 2
  342. shows the location of and monitor types supported by the Risc PC as
  343. supplied. If you wish to connect a different monitor to one which is
  344. specified then the appropriate definition file will need to be added to
  345. $.!Boot.Resources.Configure.Monitors by simply dragging the new definition
  346. file into the directory. Alternatively this may be a directory containing a
  347. range of definition files for a single manufacturer.
  348.  
  349. For more information on setting the screen display and monitor definition
  350. files please refer to the section Setting the desktop configuration which is
  351. in the Risc PC User Guide and the appropriate sections of the RISC OS 3
  352. Programmer's Reference Manual Volume 5.
  353.  
  354. Use with earlier versions of RISC OS
  355.  
  356. The impact on earlier versions of RISC OS only becomes an issue when the
  357. computers are connected to a network or other shared filing system. As a
  358. consequence the mechanisms described here will be specifically for use with
  359. networks.
  360.  
  361. Overview
  362.  
  363. If an attempt is made to run the Boot application on a computer fitted with
  364. an earlier version of RISC OS a message will appear as shown below:
  365.  
  366.  
  367.         
  368. Figure 6: Boot application error message when run on earlier versions of RISC OS.
  369.  
  370. This error message is contained in the appropriate "hook" for the version of
  371. RISC OS. These hook files: RO200Hook and RO310Hook, are shown in figure 2 in
  372. $.!Boot.Utils. The mechanisms used by the boot application ensure that all
  373. versions of RISC OS are tested for and dealt with appropriately.
  374.  
  375. It is the very existence of these "hooks" which makes the Risc PC boot
  376. application suitable for use on a network with a mixture of RISC OS
  377. computers. There are, however, legal implications in attempting to use the
  378. Risc PC boot application in this way.
  379.  
  380. Software licences.
  381.  
  382. The Risc PC is supplied with VProtect, part of the virus protection
  383. software; Killer, as an integral part of the boot sequence. The module
  384. VProtect is supplied with a software licence for use with only one computer,
  385. that which it was sold with. An attempt to utilise the Risc PC boot
  386. application with Archimedes computers will breach this licence. In order to
  387. remain within the terms and conditions of the licence it will be necessary
  388. to obtain a site-licence for Pineapple Software's Killer (which includes
  389. VProtect).
  390.  
  391. For further information on Killer please contact Pineapple Software at the
  392. address in Appendix D
  393.  
  394. For more information on installing VProtect please refer to Appendix B.
  395.  
  396. Using the Risc PC version of VProtect with earlier versions of RISC OS.
  397.  
  398. Only the Risc PC version of VProtect will not run under RISC OS 2.00. Any
  399. version supplied by Pineapple Software will run on all Risc PCs and
  400. Archimedes. Any attempt to run the Risc PC version of VProtect on a RISC OS
  401. 2.00 computer will result in the following error:
  402.  
  403.  
  404.  
  405. Figure 7: Error message from RISC OS 2 computers.
  406.  
  407. Please refer to Appendix B for information on overcoming this problem.
  408.  
  409. Network implications
  410.  
  411. There are a number of issues related to using the Risc PC as either a
  412. network fileserver or a network client. The complexity of the issues is
  413. dependant upon the working practices within the establishment. The most
  414. popular circumstances and the recommended solutions are covered in detail in
  415. this section.
  416.  
  417. The Risc PC as a Fileserver.
  418.  
  419. The Level 4 Fileserver Manager's Guide in the chapter Designing the
  420. Fileserver directory structure details the two recommended models for all
  421. Level 4 Fileservers. Risc PC users are advised to follow the second of these
  422. which utilises an export mount point for the server. For reference purposes
  423. the appropriate diagram from the Level 4 Fileserver Manager's Guide is
  424. reproduced in figure 8.
  425.  
  426. Whilst other structures are possible these have not been tested, nor can
  427. they be recommended for use with the Risc PC. For further information on the
  428. use of this directory structure please refer to the Level 4 Fileserver
  429. Manager's Guide. 
  430.  
  431.  
  432.  
  433. Figure 8: Recommended Level 4 Fileserver directory structure.
  434.  
  435. The Risc PC and Archimedes computers as network client stations.
  436.  
  437. For the first time a maintainable mechanism exists which allows a mixture of
  438. RISC based Acorn Computers to share the same fileserver. This is of
  439. particular importance where a fileserver may be connected to two different
  440. network types each with different versions of RISC OS present. Figure 9
  441. illustrates a typical situation:
  442.  
  443.  
  444.  
  445. Figure 9: Typical mixed economy network.
  446.  
  447. Common issues for all versions of RISC OS
  448.  
  449. It is very important to keep certain operating system resources separate.
  450. The boot sequence supplied on the floppy disc which accompanies this
  451. document, has been derived from the one supplied with the Risc PC, and it is
  452. structured in such a way that it:
  453.         
  454.         • is easy to maintain.
  455.  
  456.         • offers resource segregation for each OS version.
  457.  
  458.         • supports all RISC based Acorn computers.
  459.  
  460.         • allows the easy integration of existing boot sequences.
  461.  
  462. The last point is an important one. Typically existing boot sequences can be
  463. categorised into two types either:
  464.  
  465.         a Boot application, similar to a normal application.
  466.  or
  467.         a series of discrete files.
  468.  
  469. The structure of the recommended !ArmBoot application, which is supplied on
  470. the floppy disc which accompanies this application note,  is shown below:
  471.  
  472.  
  473.  
  474. Figure 10: Risc PC based !ARMboot sequence for network use.
  475.  
  476. Getting started.
  477.  
  478.         From any client computer logon to the fileserver as a system
  479. privileged user. Unless otherwise stated it will be assumed that all
  480. subsequent operations will be done from this computer. 
  481.  
  482.         If the fileserver already has an armboot sequence on it create a
  483. temporary directory; Old is a good choice, and copy the existing boot
  484. sequence into it.
  485.  
  486.         Copy the entire contents of the floppy disc into the network root
  487. directory. Dismount and remove the floppy disc once this has finished.
  488.  
  489.         Hold down shift and double click on the !ArmBoot application. A
  490. directory viewer will open which contains a number of objects, one of which
  491. is called Utils. Double click on Utils so that the following directory is
  492. displayed.
  493.  
  494.  
  495.  
  496. Figure 11: Contents of !ArmBoot Utils directory.
  497.  
  498.         There are 3 hooks or areas for each operating system type. These are:
  499.  
  500. DeskRun :       Risc PC
  501. RO310Hook       :       RISC OS 3.10 to 3.20
  502. RO200Hook       :       RISC OS 2.00 to  3.09
  503.  
  504. The following sections will deal with how to "attach" each operating
  505. system's requirements to each of these hooks.
  506.  
  507. The Risc PC and !ArmBoot.
  508.  
  509. The versatility of the Risc PC Boot application provides the user with a
  510. great deal of control over the start up state of the computer. In a single
  511. computer environment this is to be welcomed, however, in a network
  512. environment the opportunity for enforcing inappropriate configuration
  513. settings is high. We recommend that all Risc PC's boot from their local hard
  514. discs as this prevents problems with monitor configuration and other
  515. computer specific settings.  Network managers are strongly urged to adhere
  516. to the recommendations made in this section. However, if after making
  517. changes to the boot sequence or configuration the client stations no longer
  518. boot up correctly from their local hard discs we recommend the following
  519. course of action:
  520.  
  521.         Switch the Risc PC client stations off. Switch on each computer in
  522. turn whilst holding down the key marked Delete. This will normally return
  523. the computer to a useable state.
  524.  
  525.         In the unlikely event that the disc based !Boot sequence is
  526. unuseable it is possible to reset this to a useable state by using the
  527. !ResetBoot application. Please refer to the Risc PC User Guide for more
  528. information on this application.
  529.  
  530. It is of course possible, desirable even, for all Risc PCs to have a copy of
  531. the whole site's resources on their local hard disc. However, education
  532. establishments tend to operate a centralised and distributed solution via a
  533. network. It is this strategy which is assumed in this section.
  534.  
  535.         Begin by setting up any local resources on each Risc PC. This may
  536. involve monitor configuration files etc. Ensure that you also logon to the
  537. network as the user Boot before saving the Desktop boot sequence to the Risc
  538. PC's local disc. This procedure will need to be done on each Risc PC on the
  539. site if it is to be connected to the network. If you are unsure of how to
  540. save a desktop boot file then please refer to the appropriate section in the
  541. Risc PC User Guide.
  542.  
  543.         Now remove any applications which you may have loaded onto the icon
  544. bar and close any windows which may be open in the desktop. This should
  545. return the computer to a "clean" state.
  546.  
  547.         Next set up the network based aspects of the client computer. For
  548. example this may involve loading the Application Accelerator and opening a
  549. directory viewer of common networked applications. Once this is done save a
  550. second Desktop boot file onto the network in !ArmBoot.Utils. The default
  551. filename; !Boot, will suffice for now.
  552.  
  553.         Now load Edit and drag !ArmBoot.Utils.DeskRun file into it. A window
  554. will appear like the one in Figure 12.
  555.  
  556.  
  557.  
  558. Figure 12: !ArmBoot.Utils.DeskRun loaded into Edit.
  559.  
  560.         Position the caret as shown in Figure 12 and drag the saved Desktop
  561. boot file from !ArmBoot.Utils into the Edit window. This will have the
  562. effect of inserting the Desktop file into the Deskrun file at the position
  563. of the caret.
  564.  
  565.         Next check the file for any duplicate, ADFS or recursive entries
  566. such as:
  567.  
  568. Filer_Boot Boot:^.Utilities.!ChangeFSI
  569. Filer_Boot ADFS::HardDisc4.$.Apps.Level4.!Server
  570. Logon :FileServer Boot
  571.  
  572.    Remove any such entries and save the file as !ArmBoot.Utils.DeskRun.
  573.  
  574.         Lastly delete the previously saved Desktop file; probably called
  575. !Boot, from the !ArmBoot.Utils directory and set the access rights for the
  576. whole !ArmBoot application to WR/r (Owner write and read / Public read)
  577.  
  578. RISC OS 2 clients and !ArmBoot
  579.  
  580. If a boot sequence for computers fitted with RISC OS 2.00 already exists,
  581. integration simply requires the files to be copied into the corresponding
  582. RO200Hook directory. The directory must hold the contents of the old boot
  583. sequence as well as working copies of the RISC OS 2 resources. When complete
  584. it may look like the one illustrated in figure 13.
  585.  
  586.  
  587. Figure 13:Incorporating an existing RISC OS !ArmBoot application
  588. into the Risc PC !ArmBoot application.
  589.  
  590. If the !ArmBoot already existed it will be necessary to alter the pathnames
  591. to any system resources which have also been moved. If you are using a third
  592. party boot sequence please refer to the documentation supplied with the
  593. application for information on how to do this.
  594.  
  595. It is not recommended, although it is possible, that all versions of RISC OS
  596. share the same !System resource. Some modules are specifically designed for
  597. RISC OS 3.10 or later and the inclusion of these modules in a common !System
  598. will only serve to fill the !System.Modules directory earlier than
  599. necessary.
  600.  
  601. It is, however, possible for all versions of RISC OS to share the same
  602. !Fonts resource providing that it is  updated as specified in the Support
  603. Group Application Note 222: Fonts- a shared resource for RISC OS 2 and RISC
  604. OS 3. This application note is available from Acorn's Support Group at the
  605. address in Appendix D. If you do decide to do this then the !Fonts which is
  606. stored in !ArmBoot.Resources should be updated and used in preference to any
  607. other. 
  608.  
  609. RISC OS 3.1 clients and !ArmBoot
  610.  
  611. The procedure for updating the !ArmBoot sequence to support RISC OS 3.1
  612. clients is identical to that for RISC OS 2. There are differences in the way
  613. that the system resources are utilised. With RISC OS 3.1 clients !Fonts and
  614. !System can be shared with a Risc PC. The RISC OS 3.1 and Risc PC version of
  615. !Fonts can be combined using !Merge. Alternatively, the !Fonts application
  616. may be modified, as described in the previous section, to support RISC OS 2
  617. clients as well.
  618.  
  619. It is not recommended, although it is possible, that all versions of RISC OS
  620. share the same !System resource. Some modules are specifically designed for
  621. RISC OS 3.10 or later. The inclusion of these modules in a common !System
  622. will only serve to fill the !System.Modules directory earlier than
  623. necessary. The !System supplied in !ArmBoot.Resources can support all
  624. versions of RISC OS from version 2.00. The appropriate !ArmBoot file for
  625. RISC OS 3.10 will also need to be updated by replacing any reference to:
  626.  
  627.         Filer_Boot Net:$.!System
  628. or
  629.         Filer_Run Net:$.!System
  630. or
  631.         Run Net:$.!System
  632. with
  633.         Run ArmBoot:Resources.!System
  634.  
  635. Note: There is no need to do this for the Risc PC as the !ArmBoot.DeskRun
  636. file accommodates this already.
  637.  
  638. It is also important that !SetIcons and !NewLook are stored in
  639. !ArmBoot.Utils.RO310Hook. If they are placed where they would normally be
  640. visible to a Risc PC they will clash with the version already present in its
  641. operating system. The following illustration shows what a typical RO310Hook
  642. directory should look like:
  643.  
  644.  
  645. Figure 14: A typical !ArmBoot.Utils.RO310Hook directory.
  646.  
  647. Things to avoid when using the Risc PC !Boot and/or !ArmBoot 
  648. application.
  649.  
  650. The operation of the Risc PC boot application is such that certain accepted
  651. practices with earlier versions of RISC OS will now cause problems with the
  652. Risc PC. This section details the practices which we are currently aware of
  653. which will generate unexpected results.
  654.  
  655. Renaming files or applications
  656.  
  657. Don't rename files or applications which are a part of the Risc PC !Boot in
  658. an attempt to "remove" them from the boot sequence. Depending upon their
  659. position and place within the boot application it is very likely that they
  660. will still be run.
  661.  
  662. A typical example is where an application has been updated and yet you still
  663. wish to retain the old version for reference purposes. It has commonly been
  664. accepted that simply removing the ! from the leafname will prevent the
  665. application being recognised as such. However, the recursive operation of
  666. the Risc PC boot sequence will ensure that the directory is examined and
  667. this action may result in the unintended execution of its contents. eg. Obey
  668. files will be Obeyed, !Boot and !Run will be run etc. In some cases it may
  669. result in a directory window unexpectedly appearing on the screen. 
  670.  
  671. Unplugging modules
  672.  
  673. With RISC OS 3.1 it is a common practice to *RMkill or even *Unplug certain
  674. modules which are undesirable in a classroom environment. Typical examples
  675. are !Configure, !Alarm and the Broadcast Loader. These modules are no longer
  676. stored in ROM in RISC OS 3.50 and so a direct attempt to *RMkill or *Unplug
  677. them will generate an error and halt the boot sequence. Support Group
  678. Application Note 244; Disabling relocatable modules and other resources in
  679. RISC OS, documents the correct methods of achieving this. This application
  680. note is available from Acorn's Support Group at the address in Appendix D.
  681.  
  682. NFS based applications
  683.  
  684. It has been observed that if applications are stored on an NFS fileserver
  685. and a desktop boot file is saved then errors will occur during the boot
  686. sequence. This is because the boot sequence attempts to Filer_Boot
  687. applications before logon to the NFS fileserver has taken place.
  688.  
  689. There are two possible solutions to this:
  690.  
  691. Don't run or Filer_Boot applications which are stored on NFS fileservers
  692. from a local boot sequence.
  693.  
  694. or
  695.  
  696. Manually move the NFS logon and mount commands to the start of the
  697. sequence as shown below:
  698.  
  699. |Desktop boot file, saved at 11:28:01 08-Apr-1994
  700.  
  701. WimpSlot -next 640K
  702. ChangeDynamicArea -FontSize 128K
  703. ChangeDynamicArea -SpriteSize 32K
  704. ChangeDynamicArea -RamFsSize 0K
  705. ColourTransLoadings &2 &4 &1
  706. net:logon :Level4 FNStein
  707. NFS:Logon -host  home fnstein
  708. NFS:Mount -host  home Home /fnstein
  709.  
  710. !ResetBoot
  711.  
  712. In the event that a Risc PC is unintentionally or incorrectly configured or
  713. files inadvertently deleted from the !Boot application it is possible that
  714. the computer will no longer be able to boot correctly from the hard disc.
  715. This application, which is stored in $.Diversions.tools, will reset the
  716. !Boot application back to the default shipped state. For further information
  717. of the use of this application please refer to the section Power on and
  718. Reset options in the Risc PC User Guide.
  719.  
  720. Setting up for classroom use.
  721.  
  722. Feedback from users of RISC OS 3.1 illustrated the requirement for desirable
  723. features, which were normally available only from External Developers, to be
  724. built into RISC OS. The Risc PC has many of these features implemented and
  725. as a consequence many fears about hard discs in the classroom have been
  726. addressed. 
  727.  
  728. When setting up a Risc PC for use in a classroom we recommend the following
  729. minimum actions:
  730.  
  731.         Delete !HForm from $.Utilities after making a backup copy onto a
  732. floppy disc.
  733.  
  734.         Set a password for the hard disc using Lock to prevent unauthorised
  735. deletion of data from the hard disc. See the section on Lock which is in the
  736. chapter Setting the desktop configuration in the Risc PC User Guide.
  737.  
  738.         Delete !Configure from $.Apps after making a backup copy onto a
  739. floppy disc.
  740.  
  741.         Set the protection link. See Appendix A: Protecting your hard disc
  742. in the Risc PC Welcome Guide for further information.
  743.  
  744. Appendix A
  745.  
  746. Boot sequence system variables.
  747.  
  748. System variables set by the !Boot application and various library tools are
  749. detailed as follows:
  750.  
  751. By the boot sequence:   By FontMerge:   By Repeat:
  752.  
  753. Boot$OSVersion          FontMerge$Dir   Repeat$Dir
  754. Boot$Path               FontMerge$Path  Repeat$Path
  755. Boot$Dir                                Repeat$ScrapFile
  756. Choices$Path
  757. Choices$Dir
  758. Choices$Write
  759. Boot$ToBeLoaded
  760. Boot$ToBeTasks
  761. Alias$Alias
  762. Alias$UnAlias
  763. Alias$Path
  764. Alias$PathMacro
  765. Run$Path
  766.  
  767. System variables set by the !ArmBoot application and various library tools
  768. are detailed as follows:
  769.  
  770. By the !Armboot         By Repeat:              By DeskRun:
  771. sequence:
  772.  
  773. Boot$OSVersion          Repeat$Dir              System$path1
  774. Boot$Path1              Repeat$Path             System$path
  775. Boot$Path               Repeat$ScrapFile
  776. Boot$Dir
  777. ARMBoot$Dir
  778. ARMBoot$Path
  779. Run$Path
  780.  
  781. Appendix B
  782.  
  783. Use of VProtect with the !ArmBoot application.
  784.  
  785. The Risc PC !Boot sequence is supplied with a version of VProtect which is
  786. unsuitable for use with RISC  OS 2.00 computers. Its use on a network is
  787. also in breach of the licence agreement unless you have a current 
  788. subscription to !Killer for the appropriate number of computers.
  789.  
  790. If you do have a current subscription then you may enable the use of
  791. VProtect from within the !ArmBoot  application by the following means:
  792.  
  793.         Hold down the Shift key and double click Select on the !ArmBoot
  794. application.
  795.  
  796.         Continue to hold Shift and double click Select on !Run. This will
  797. load it into Edit.
  798.  
  799.         Remove the | from the start of the 1st line which reads:
  800.  
  801. |RMEnsure VProtect 1.58 RMLoad <Obey$Dir>.Utils.VProtect
  802.  
  803.         Save the file in the normal way.
  804.  
  805.         Place a copy of the VProtect module into !ArmBoot.Utils.
  806.  
  807.         Set the access for the whole !ArmBoot application to WR/R.
  808.  
  809. Appendix C
  810.  
  811. This section contains information which is network specific. The information
  812. is grouped according to manufacturer and provides duplicate or additional
  813. information to that supplied in the Risc PC !Products application.
  814.  
  815. Acorn
  816.  
  817. SetStation utility
  818.  
  819. When setting the network station identity it is possible to use the one
  820. supplied with your Level 4 fileserver. However, under some circumstances it
  821. is possible that the station number will be lost. A new version of
  822. SetStation ( Version 2.03) is required to prevent this. In the first
  823. instance please contact your local Dealer, IT Coordinator, or Acorn in
  824. Education Centre for the latest version.  Alternatively you may request a
  825. copy by writing, on headed paper, to Acorn at the address in Appendix D.
  826.  
  827. !Gateway
  828.  
  829. The Risc PC can, with the appropriate hardware, support up to 8 expansion
  830. cards and a network card simultaneously. This has implications for the
  831. !Gateway application which are detailed below:
  832.  
  833. Ethernet - Ethernet gateway
  834.  
  835. Ethernet cards up to and including release III can only work in slots 0-3
  836. and will not work with the Risc PC Ethernet card in slot 8. Consequently you
  837. can use two Ethernet III cards to provide the Gateway function, but only if
  838. they are both installed in slots 0-3.  
  839.  
  840. Ethernet - Econet gateway
  841.  
  842. You can use the Risc PC Econet card in a gateway. If your Ethernet podule
  843. card is release III or earlier, it must be inserted in one of the slots 0-3. 
  844.  
  845. In addition release III cards may cause interactions with other expansion
  846. cards. Contact your Dealer for details of the availability of upgrades for
  847. your Ethernet III card.
  848.  
  849. Acorn Access
  850.  
  851. If you wish to share a Risc PC disc with computers using RISC OS 3.1, it is
  852. best to share the disc at a point other than its root, so as to avoid the
  853. possibility of these computers attempting to access Risc PC specific
  854. programs and data.
  855.  
  856. To achieve this, you can add an appropriately named Obey file to the PreDesk
  857. directory as previously described in Inserting order critical and 3rd Party
  858. sequences into !Boot. For example:
  859.  
  860. *Share ADFS::4.$.Public Joe
  861.  
  862. which would share the directory Public as name Joe over Access.
  863.  
  864.  
  865. Angelsoft Educational
  866.  
  867. AppFS
  868.  
  869. In order to use AppFS with the Risc PC you must have version 3.00 or later,
  870. of AppFS. Contact Angelsoft Educational for upgrade information.
  871.  
  872. Atomwide Ethernet cards
  873.  
  874. All versions of Atomwide 10 base 2 Ethernet Interfaces for the Risc PC
  875. network slot function correctly.
  876.  
  877. The Risc PC can, with the appropriate hardware, support up to 8 expansion
  878. cards and a network card simultaneously. This has implications for earlier
  879. versions of the Atomwide Ethernet card when used with the !Gateway
  880. application. These are detailed below:
  881.  
  882. Ethernet - Ethernet gateway
  883.  
  884. A400/A5000 Ethernet cards can only work in slots 0-3 and will not work with
  885. the Risc PC Ethernet card in slot 8. Consequently you can use two Atomwide
  886. Ethernet cards, to provide the gateway function, but only if they are both
  887. installed in slots 0-3.  
  888.  
  889. Ethernet - Econet gateway
  890.  
  891. You can use the Risc PC Econet card in a gateway, but the A400/A5000
  892. Ethernet card must be inserted in one of the slots 0-3. 
  893.  
  894. In addition the A400/A5000 cards may cause interactions with other expansion
  895. cards. Contact Atomwide, at the address in Appendix D, for details on the
  896. availability of upgrades.
  897.  
  898. Oak Solutions
  899.  
  900. ClassROM
  901.  
  902. ClassROM version 1.20 and earlier, does not work. On starting the system a
  903. Data Abort message is produced and ClassROM will not work sensibly. 
  904.  
  905. ClassPrintLD
  906.  
  907. ClassPrintLD is superseded by facilities in the operating system.
  908.  
  909. ClassNet
  910.  
  911. ClassNet functions correctly if being run independently from ClassROM. See
  912. details above for problems with ClassROM.
  913.  
  914. Contact Oak Solutions, at the address in Appendix D, for details of
  915. availability and price of the appropriate upgrade.
  916.  
  917.  
  918. SJ Research
  919.  
  920. This section contains extracts from information supplied to Acorn by SJ
  921. Research. It is supplied for reference purposes. If you have any questions
  922. regarding the use of the Risc PC with SJ Research products, or require
  923. upgrade information for SJ products please contact SJ Research at the
  924. address in Appendix D.
  925.  
  926.  
  927. Using SJ Research networking products with a Risc PC
  928.  
  929. The Risc PC will work successfully with the full range of SJ Research
  930. Networking products. In some cases it may be necessary to obtain the most
  931. recent versions of the software before the Risc PC can be utilised fully:
  932. details are given below. The main area for possible confusion is in setting
  933. up boot sequences. The Risc PC is the first Acorn product to be supplied
  934. with a boot application on its hard disc. Whilst performing similar
  935. functions to the traditional SJ Research boot sequences, the Acorn boot
  936. sequence has some differences. Care is required when integrating Risc PCs
  937. into any network environment, particularly where earlier Acorn computers are
  938. booting using the SJ boot sequence. SJ has worked with Acorn to produce the
  939. solutions set out below as both companies believe these offer the best
  940. strategy.
  941.  
  942. Using the Risc PC with Econet/MDFS
  943.  
  944. For better interworking with the Risc PC we recommend upgrading your MDFS to
  945. version 2.00. This also allows you to increase the disc space on your MDFS.
  946.  
  947. Using the Risc PC with Nexus Disc Sharing, Networking and as a Nexus Junior
  948. client
  949.  
  950. Table 1 details the minimum version number of SJ modules and applications
  951. which SJ recommend are used with the Risc PC.
  952.  
  953.  
  954. Table 1: Minimum recommended Nexus versions for use with the Risc PC
  955.  
  956. (1) Includes Nexus Junior
  957.  
  958. How to identify which version of Nexus software you are running
  959.  
  960. One way to find this out is from the version number of the Nexus expansion
  961. card ROM. The version number should be printed on the label of the ROM.
  962. Alternatively you can use the *Podules command on an existing computer on
  963. your Nexus cluster. Press F12 and at the prompt type Podules as shown below:
  964.  
  965. *Podules
  966. Podule 0: Nexus Network Interface 2.07 (Standard card)
  967. Podule 1: CDFS & SCSI Expansion Card
  968. Podule 2: No installed podule
  969. Podule 3: No installed podule
  970.  
  971. How to identify which version of the Nexus !Boot software you are running
  972.  
  973. To get the version number of your Nexus !Boot, select !Boot in a directory
  974. viewer of your Nexus drive 4, click MENU over the window and slide the mouse
  975. to the right off  as shown in figure 15:
  976.  
  977.  
  978.  
  979. Figure 15: Obtaining the Nexus !Boot application version number
  980.  
  981. Click SELECT on the Help entry and a window will appear listing various
  982. module version numbers, including, in later versions, the !Boot version
  983. number in the first line. 
  984.  
  985. !Boot 2.17 (22 Mar 94) (c) SJ Research Ltd 19911994
  986. -------------------------------------------------
  987. This application loads the following modules:
  988.  
  989. How to identify the Nexus Disc Sharer version
  990.  
  991. You should check your Nexus server code version by typing *NexusVers on
  992. another computer on your cluster. If this operation causes an error you need
  993. an upgrade.
  994.  
  995. How to identify the BEN version number.
  996.  
  997. Power the BEN off and then power it on again. It will display a start-up
  998. string which include the version number.
  999.  
  1000. Using the Risc PC with !Sharer (Nexus Networking !Sharer and Nexus Disc
  1001. Sharing)
  1002.  
  1003. The only Nexus Networking version of !Sharer is 2.10. This can be used with
  1004. the Risc PC.
  1005.  
  1006. If you have !Sharer and Nexus Disc Sharing you should check that it is
  1007. version 1.10 or later (if not you need an upgrade).
  1008.  
  1009. Note:  Parallel and serial printer sharing works as expected with the Risc
  1010. PC running either as a client or a server. However, LaserDirect printer
  1011. sharing is not supported on the Risc PC as either a client or a server with
  1012. either the disc sharing or the networking version.
  1013.  
  1014. Using the Risc PC as a Nexus Junior server
  1015.  
  1016. You cannot use a Risc PC as a Nexus Junior server with any of the current
  1017. versions of Nexus Junior. If you would like to be able to do this, phone SJ
  1018. Research Technical Support (0223 414532) for further details.
  1019.  
  1020. Using the Risc PC as a !PrintJunr server
  1021.  
  1022. !PrintJunr (the Nexus Junior printer sharer) works perfectly on a Risc PC,
  1023. and all versions take advantage of RISC OS 3.5's improved memory management.
  1024. !PrintJunr can be used on a Risc PC with Nexus Networking, AUN Ethernet,
  1025. Econet and Nexus Junior itself.
  1026.  
  1027. Note: The site licensed version of !PrintJunr is required for use other than
  1028. on a single Nexus Junior System.
  1029.  
  1030.  
  1031. Appendix D
  1032.  
  1033. Addresses
  1034.  
  1035. Support Group
  1036. Acorn Computers Ltd
  1037. Acorn House
  1038. Vision Park
  1039. Histon
  1040. Cambridge
  1041. CB4 4AE
  1042.  
  1043. Tel.    0223 254254
  1044. Fax     0223 254264
  1045. E-mail: customer.services@acorn.co.uk
  1046. FTP:    ftp.acorn.co.uk (136.170.129.1)
  1047.  
  1048. Angelsoft Educational
  1049. 35 Heol Nant
  1050. Swiss Valley
  1051. Llanelli
  1052. SA14 8EN
  1053.  
  1054.  
  1055. Tel.    0554 776845
  1056.  
  1057.  
  1058. Atomwide
  1059. Unit 7 
  1060. The Metro Centre
  1061. Bridge Road
  1062. Orpington
  1063. Kent
  1064. BR5 2BE
  1065.  
  1066. Tel.    0689 838852
  1067. Fax     0689 896088
  1068. E-mail: sales@atomwide.co.uk
  1069.  
  1070. Oak Solutions Ltd
  1071. Dial House
  1072. 12 Chapel St
  1073. Halton
  1074. Leeds
  1075. LS15 7RN
  1076.  
  1077. Tel.    0532 326992
  1078. Fax     0532 326993
  1079.  
  1080. Pineapple Software
  1081. 39 Brownlea Gardens
  1082. Seven Kings
  1083. Ilford
  1084. Essex
  1085. IG3 9NL
  1086.  
  1087. Tel.    081 599 1476
  1088. FAX     081 598 2343
  1089. E-mail: sales@pinesoft.demon.co.uk
  1090.         support@pinesoft.demon.co.uk
  1091.  
  1092.  
  1093. SJ Research Limited
  1094. J1 The Paddocks
  1095. 347 Cherry Hinton Road
  1096. Cambridge
  1097. Cambridgeshire
  1098. CB1 4DH
  1099.  
  1100. Tel.    0223 416715 (Main number)
  1101.         0223 414532 (Technical Support)
  1102. FAX     0223 416440
  1103. E-mail  support%gb.interspan.sj@mhs-relay.ac.uk